package com.rc.web.service;

import com.mybatisflex.core.service.IService;
import com.rc.pojo.po.Consumer;
import com.rc.pojo.vo.consumer.ConsumerLoginVO;
import com.rc.pojo.vo.consumer.ConsumerVO;

import java.math.BigDecimal;

/**
 * 移动端游客用户表 服务层。
 *
 * @author sym
 * @since 2024-05-24
 */
public interface ConsumerService extends IService<Consumer> {
    ConsumerLoginVO login(String code);

    ConsumerVO getInfo();

    void deductMoney(BigDecimal amount);
}
